// BusApCollection_BPA.cpp: implementation of the BusApCollection_BPA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "../../Include/Dat/BusApCollection_BPA.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CBusApCollection_BPA::CBusApCollection_BPA()
{

}

CBusApCollection_BPA::~CBusApCollection_BPA()
{

}

CBusAp_BPA* CBusApCollection_BPA::GetBusAp(char *strBusName, double dkV)
{
	CBusAp_BPA tempBusAp;
	strcpy(tempBusAp.m_strName,strBusName);
	tempBusAp.m_dkV = dkV;
	return (CBusAp_BPA*)CCardCollection_BPA::GetCard(&tempBusAp);
}

CBusAp_BPA* CBusApCollection_BPA::Traverse(CBusAp_BPA *pBusAp, int nDirection)
{
	return (CBusAp_BPA*)CCardCollection_BPA::Traverse(pBusAp,nDirection);

}



CBusAp_BPA* CBusApCollection_BPA::GetFirstBusAp()
{
	return (CBusAp_BPA *)CCardCollection_BPA::GetFirstCard();
}


